﻿@{
    Layout = "~/Areas/Admin/Views/Shared/_LayoutCMS.cshtml";
    ViewBag.Title = "HEHE";
}

@section htmlhead{
      <link href="~/Content/assets/css/Layout/css/main.css" rel="stylesheet" />
      <link href="~/Content/assets/css/plugin/xjgrid.css" rel="stylesheet" />
    }
@model LY.Entity.Entities.T_Project_EX
<div class="container">
<h2>项目还款</h2>
     <div id="table" class="mt10">
          <div id="button" class="mt10">
              <form id="formQuery" class="form-inline" role="form">
                @*<input type="button" id="btnAdd" name="button" class="btn btn82 btn_add" value="新增">*@ 
                <input type="text" name="Name" class="input-text lh25" size="25" placeholder="输入项目名称">
                <input type="button" id="btnSearch" name="button" class="btn btn82 btn_search" value="查询">   
              </form>
          </div>
          <div class="box span10 oh">
             <div id="gridlist">
             </div>
          </div>
     </div>
     <form action="@ViewBag.sftAddress/custodian/repayment.html" method="post" id="YongHuHuanKuanForm">
         <input type="hidden" name="merchantNo" id="YongHuHuanKuanmerchantNo" value="@ViewBag.merchantNo" />
         <input type="hidden" name="timestamp" id="YongHuHuanKuantimestamp" value="temp" />
         <input type="hidden" name="userName" id="YongHuHuanKuanuserName" value="@ViewBag.RepaymentUserName" />
         <input type="hidden" name="origOrderType" id="YongHuHuanKuanorigOrderType" value="1" />
         <input type="hidden" name="issueBidNo" id="YongHuHuanKuanissueBidNo" value="@ViewBag.ProjectNo" />
         <input type="hidden" name="repaymentNo" id="YongHuHuanrepaymentNo" value="@ViewBag.repaymentNo" />
         <input type="hidden" name="repaymentType" id="YongHuHuanrepaymentType" value="1" />
         <input type="hidden" name="repaymentAmount" id="YongHuHuanrepaymentAmount" value="@ViewBag.repaymentAmount" />
         <input type="hidden" name="repaymentMode" id="YongHuHuanrepaymentMode" value="2" />
         <input type="hidden" name="isReward" id="YongHuHuanisReward" value="2" />
         <input type="hidden" name="transferItems" id="YongHuHuantransferItems" value="@ViewBag.transferItems" />
         <input type="hidden" name="callback" id="YongHuHuancallback" value="@ViewBag.backAddress/Admin/T_Project/Repaymentcallback"/>
         <input type="hidden" name="notifyUrl" id="YongHuHuannotifyUrl" value="@ViewBag.backAddress/Pay/RepaymentnotifyUrl" />
         <input type="hidden" name="sign" id="YongHuHuanKuansign" value="" />
         @*<textarea name="transferItems">@Server.UrlDecode(ViewBag.transferItems)</textarea>*@
     </form>
     <input type="button" id="btnRept" name="button" style="margin-right:50px;" class="btn btn82 btn_save2" value="还款">
     <input type="hidden" id="repaymentPlanId" value="@ViewBag.RepaymentPlanId" /> 
</div> 
@section jssection{
    <script type="text/javascript"> 
    var util = {}; 
    var options = { 
        listUrl: "@Url.Action("RepaymentDetailList1")",
        RepaymentDetailUrl: "@Url.Action("RepaymentDetail")",
        Repayment: "@Url.Action("RepaymentNew")"
    }; 

   </script>

    <script src="~/Content/assets/plugins/xjgrid/xjgrid.js"></script>
    <script src="~/Content/assets/app/t_project/RepaymentDetail.js"></script>
}
